﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Clinica/MasterPagePromociones.master" AutoEventWireup="true" CodeFile="wfCargarPromocion.aspx.cs" Inherits="Ventas_wfIndicadoresReporte" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxTabControl" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxClasses" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxRoundPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxPivotGrid.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPivotGrid" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.2.Export, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView.Export" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxPivotGrid.v11.2.Export, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPivotGrid.Export" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPopupControl" tagprefix="dx" %>

<%@ Register assembly="DevExpress.XtraReports.v11.2.Web, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraReports.Web" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxNewsControl" tagprefix="dx" %>

<%@ Register assembly="DevExpress.XtraCharts.v11.2.Web, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts.Web" tagprefix="dxchartsui" %>
<%@ Register assembly="DevExpress.XtraCharts.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts" tagprefix="cc1" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx1" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxUploadControl" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxFileManager" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxRoundPanel" tagprefix="dx2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
        }
    .dxbButton_PlasticBlue
{
	color: #000000;
	font: normal 12px Tahoma;
	vertical-align: middle;
	border: 1px solid #B8B8B8;
	<%--background: #e5e5e5 url('<%=WebResource("DevExpress.Web.ASPxThemes.App_Themes.PlasticBlue.Editors.edtButtonBack.gif")%>') left top;--%>
	padding: 1px;
	cursor: pointer;
}
        .style2
        {
            width: 522px;
        }
        .style3
        {
            width: 101px;
        }
        .style4
        {
            width: 101px;
            height: 30px;
        }
        .style5
        {
            width: 522px;
            height: 30px;
        }
    .style6
    {
        width: 785px;
    }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentMenuSecundario" Runat="Server">
    <li><a href="wfGenerarReportePaciente.aspx" class="">Generar Segmentacion de Clientes</a></li>
    <li><a href="wfSegmentarPaciente.aspx" class="">Segmentar Clientes</a></li>
    <li><a href="wfCargarPromocion.aspx" class="">Cargar Promociones</a></li>
    <li><%--<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>"
                    DataSourceMode="DataReader" SelectCommand="usp_Tarifario_ListarTodos" SelectCommandType="StoredProcedure">
                </asp:SqlDataSource>--%></li>
    <li><%--<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>"
                    DataSourceMode="DataReader" SelectCommand="usp_Tarifario_ListarTodos" SelectCommandType="StoredProcedure">
                </asp:SqlDataSource>--%></li>
    <li><%--<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>"
                    DataSourceMode="DataReader" SelectCommand="usp_Tarifario_ListarTodos" SelectCommandType="StoredProcedure">
                </asp:SqlDataSource>--%></li>
    <li><%--<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>"
                    DataSourceMode="DataReader" SelectCommand="usp_Tarifario_ListarTodos" SelectCommandType="StoredProcedure">
                </asp:SqlDataSource>--%></li>
    <li><%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="dtpFechaDifusion" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator13">CampoRequerido!!!</asp:RequiredFieldValidator>--%></li>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ModuleTitleContent" Runat="Server">
    Cargar Promociones 
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentEnlacesRapidos" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="MainContent" Runat="Server">
    <ul class="tabs primary">
       </ul>
  
    <table width="99%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td class="style1" colspan="3">
                <dx:ASPxPanel ID="ASPxPanel1" runat="server" Width="99%">
                    <PanelCollection>
                        <dx:panelcontent runat="server" SupportsDisabledAttribute="True">
                            <table>
                                <tr>
                                    <td>
                                        &nbsp;</td>
                                    <td align="center" class="style6">
                                        <dx:ASPxLabel ID="lblMensajeError" runat="server" Font-Bold="True" 
                                            Font-Size="Medium" ForeColor="Red" Visible="False">
                                        </dx:ASPxLabel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxButton ID="btnEnviar" runat="server" ClientIDMode="AutoID" 
                                            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                                            OnClick="btnEnviar_Click" 
                                            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                                            Text="Enviar Promoción">
                                        </dx:ASPxButton>
                                    </td>
                                    <td class="style6">
                                        <dx:ASPxButton ID="ASPxButton4" runat="server" ClientIDMode="AutoID" 
                                            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                                            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Text="Cancelar">
                                        </dx:ASPxButton>
                                    </td>
                                </tr>
                            </table>
                        </dx:panelcontent>
                    </PanelCollection>
                </dx:ASPxPanel>
            </td>
        </tr>
        <tr>
            <td class="style1" colspan="3">
                <table style="width:100%;">
                    <tr>
                        <td class="style3">
        <dx:ASPxLabel ID="ASPxLabel6" runat="server" Text="Fecha De Difusion">
        </dx:ASPxLabel>
                        </td>
                        <td class="style2">
            <dx:ASPxDateEdit ID="dtpFechaDifusion" runat="server" ClientIDMode="AutoID" 
                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                <ValidationSettings>
                    <ErrorFrameStyle ImageSpacing="4px">
                        <ErrorTextPaddings PaddingLeft="4px" />
                    </ErrorFrameStyle>
                </ValidationSettings>
            </dx:ASPxDateEdit>
                            <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="dtpFechaInicio" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator14">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                        <td class="style2">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style3">
        <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Fecha Inicio Valida">
        </dx:ASPxLabel>
                        </td>
                        <td class="style2">
            <dx:ASPxDateEdit ID="dtpFechaInicio" runat="server" ClientIDMode="AutoID" 
                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                <ValidationSettings>
                    <ErrorFrameStyle ImageSpacing="4px">
                        <ErrorTextPaddings PaddingLeft="4px" />
                    </ErrorFrameStyle>
                </ValidationSettings>
            </dx:ASPxDateEdit>
                            <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="dtpFechaFin" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator15">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                        <td class="style2">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style3">
        <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="Fecha Final Valida">
        </dx:ASPxLabel>
                        </td>
                        <td class="style2">
            <dx:ASPxDateEdit ID="dtpFechaFin" runat="server" ClientIDMode="AutoID" 
                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                <ValidationSettings>
                    <ErrorFrameStyle ImageSpacing="4px">
                        <ErrorTextPaddings PaddingLeft="4px" />
                    </ErrorFrameStyle>
                </ValidationSettings>
            </dx:ASPxDateEdit>
                            <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="cboPromocion" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator16">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                        <td class="style2">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style3">
        <dx:ASPxLabel ID="ASPxLabel7" runat="server" Text="Promocion">
        </dx:ASPxLabel>
                        </td>
                        <td class="style2">
                            <dx:ASPxComboBox ID="cboPromocion" runat="server" 
                                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                                Height="25px" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                                DataSourceID="ObjectDataSource1" TextField="PROM_DESCRIPCION" 
                                ValueField="PROM_ID_PROMOCION">
                                <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                                </LoadingPanelImage>
                                <ValidationSettings>
                                    <ErrorFrameStyle ImageSpacing="4px">
                                        <ErrorTextPaddings PaddingLeft="4px" />
                                    </ErrorFrameStyle>
                                </ValidationSettings>
                            </dx:ASPxComboBox>
                            <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="cboVale" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator17">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                        <td class="style2">
                            <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                                SelectMethod="listar" TypeName="Negocio.Clases_BL.clsPromocionBL">
                            </asp:ObjectDataSource>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
        <dx:ASPxLabel ID="ASPxLabel8" runat="server" Text="Vale">
        </dx:ASPxLabel>
                        </td>
                        <td class="style5">
                            <dx:ASPxComboBox ID="cboVale" runat="server" 
                                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                                Height="25px" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                                DataSourceID="ObjectDataSource2" TextField="VAL_DESCRIPCION" 
                                ValueField="VAL_ID_VALE">
                                <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                                </LoadingPanelImage>
                                <ValidationSettings>
                                    <ErrorFrameStyle ImageSpacing="4px">
                                        <ErrorTextPaddings PaddingLeft="4px" />
                                    </ErrorFrameStyle>
                                </ValidationSettings>
                            </dx:ASPxComboBox>
                            <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="cboTipoPromocion" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator19">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                        <td class="style2">
                            <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" 
                                SelectMethod="listar" TypeName="Negocio.Clases_BL.clsValeBL">
                            </asp:ObjectDataSource>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
        <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="Cantidad de Vales" Width="100px">
        </dx:ASPxLabel>
                        </td>
                        <td class="style3">
                            <dx:ASPxTextBox ID="txtCantidadVales" runat="server" Width="170px" 
                                ReadOnly="True">
                            </dx:ASPxTextBox>
                        </td>
                        <td class="style2">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style3">
        <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="Tipo de promocion" Width="125px">
        </dx:ASPxLabel>
                        </td>
                        <td class="style2">
                            <dx:ASPxComboBox ID="cboTipoPromocion" runat="server" 
                                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                                Height="25px" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                                DataSourceID="ObjectDataSource3" TextField="TIPR_DESCRIPCION" 
                                ValueField="TIPR_ID_TIPO">
                                <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                                </LoadingPanelImage>
                                <ValidationSettings>
                                    <ErrorFrameStyle ImageSpacing="4px">
                                        <ErrorTextPaddings PaddingLeft="4px" />
                                    </ErrorFrameStyle>
                                </ValidationSettings>
                            </dx:ASPxComboBox>
                            <%--<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>"
                    DataSourceMode="DataReader" SelectCommand="usp_Tarifario_ListarTodos" SelectCommandType="StoredProcedure">
                </asp:SqlDataSource>--%>

                        </td>
                        <td class="style2">
                            <asp:ObjectDataSource ID="ObjectDataSource3" runat="server" 
                                SelectMethod="listar" TypeName="Negocio.Clases_BL.clsTipoPromocionBL">
                            </asp:ObjectDataSource>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
        <dx:ASPxLabel ID="ASPxLabel5" runat="server" Text="Cagar Excel" Width="125px">
        </dx:ASPxLabel>
                        </td>
                        <td class="style2">
                            <dx:ASPxUploadControl ID="ASPxUploadControl1" runat="server" Height="19px" 
                                ShowAddRemoveButtons="True" ShowProgressPanel="True" ShowUploadButton="True" 
                                Width="400px" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                                CssPostfix="PlasticBlue" 
                                onfileuploadcomplete="ASPxUploadControl1_FileUploadComplete" 
                                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" ClientIDMode="AutoID" 
                               >
<ValidationSettings MultiSelectionErrorText="Attention! 

The following {0} files are invalid because they exceed the allowed file size ({1}) or their extensions are not allowed. These files have been removed from selection, so they will not be uploaded. 

{2}" allowedfileextensions=".xls,.xlsx" 
                                    NotAllowedFileExtensionErrorText="Solo Puede Subir archivos excel(.xls;.xlsx)"></ValidationSettings>
                            </dx:ASPxUploadControl>
                        </td>
                        <td class="style2">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style3">
                            &nbsp;</td>
                        <td class="style2" align="left">
                            <dx:ASPxButton ID="cmdMostrar" runat="server" Height="26px" 
                                onclick="cmdMostrar_Click" Text="Mostrar Contenido" Width="144px">
                            </dx:ASPxButton>
                        </td>
                        <td class="style2" align="left">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style3">
                            &nbsp;</td>
                        <td class="style2" align="left">
                            <dx:ASPxGridView ID="dgExcel" runat="server" 
                                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                                CssPostfix="PlasticBlue" KeyFieldName="Codigo Paciente" 
                                onpageindexchanged="dgExcel_PageIndexChanged" Visible="False">
                                <SettingsBehavior AllowSort="False" />
                                <SettingsPager ShowDefaultImages="False">
                                    <AllButton Text="All">
                                    </AllButton>
                                    <NextPageButton Text="Next &gt;">
                                    </NextPageButton>
                                    <PrevPageButton Text="&lt; Prev">
                                    </PrevPageButton>
                                </SettingsPager>
                                <Images SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                    <LoadingPanelOnStatusBar Url="~/App_Themes/PlasticBlue/GridView/gvLoadingOnStatusBar.gif">
                                    </LoadingPanelOnStatusBar>
                                    <LoadingPanel Url="~/App_Themes/PlasticBlue/GridView/Loading.gif">
                                    </LoadingPanel>
                                </Images>
                                <ImagesFilterControl>
                                    <LoadingPanel Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                                    </LoadingPanel>
                                </ImagesFilterControl>
                                <Styles CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                                    CssPostfix="PlasticBlue">
                                    <Header ImageSpacing="10px" SortingImageSpacing="10px">
                                    </Header>
                                </Styles>
                                <StylesEditors>
                                    <CalendarHeader Spacing="11px">
                                    </CalendarHeader>
                                    <ProgressBar Height="25px">
                                    </ProgressBar>
                                </StylesEditors>
                            </dx:ASPxGridView>
                        </td>
                        <td class="style2" align="left">
                            <dx:ASPxPopupControl ID="pcMensaje" runat="server"
                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                Modal="True" PopupHorizontalAlign="WindowCenter" 
                PopupVerticalAlign="WindowCenter" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="420px" 
                AllowDragging="True" AllowResize="True" ClientInstanceName="pcMensaje" 
                DragElement="Window" HeaderText="Mensaje">
                <HeaderImage Url="~/Imagenes/iconError.png">
                </HeaderImage>
                <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                </LoadingPanelImage>
                <CloseButtonStyle>
                    <Paddings Padding="0px" />
                </CloseButtonStyle>
                <ContentStyle>
                    <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                </ContentStyle>
                <HeaderStyle>
                <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                    PaddingTop="4px" />
                </HeaderStyle>


<ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">
    <table width="100%">
        <tr>
            <td style="padding:0 0 0 20px;">
                <dx:ASPxLabel ID="lblMensaje" runat="server" /><hr />
            </td>
        </tr>
        <tr>
            <td align="center">
                <dx:ASPxButton ID="ASPxButton1" runat="server" AutoPostBack="False" 
                    ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                    CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Text="Aceptar" 
                    Checked="True">
                    <ClientSideEvents Click="function(s, e) {
	pcMensaje.Hide();   
}" />
                    <CheckedStyle BackColor="#000066" Font-Bold="True" Font-Italic="False" 
                        Font-Names="Georgia" Font-Strikeout="False" ForeColor="White">
                    </CheckedStyle>
                    <HoverStyle BackColor="#000099" Font-Bold="True" Font-Names="Georgia" 
                        ForeColor="White">
                    </HoverStyle>
                </dx:ASPxButton>
                
            </td>
        </tr>
    </table>
</dx:PopupControlContentControl>
</ContentCollection>

                            </dx:ASPxPopupControl>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            &nbsp;</td>
                        <td class="style2" align="center">
        <dx:ASPxLabel ID="ASPxLabel9" runat="server" Text="Cagar Promocion  y Vales" Width="139px">
        </dx:ASPxLabel>
                        </td>
                        <td class="style2" align="center">
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <%--<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>"
                    DataSourceMode="DataReader" SelectCommand="usp_Tarifario_ListarTodos" SelectCommandType="StoredProcedure">
                </asp:SqlDataSource>--%>
                <dx:ASPxFileManager ID="ASPxFileManager1" runat="server" Width="1046px" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                    CssPostfix="PlasticBlue" 
                    onselectedfileopened="ASPxFileManager1_SelectedFileOpened">
                    <Styles CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                        CssPostfix="PlasticBlue">
                        <LoadingPanel ImageSpacing="6px">
                        </LoadingPanel>
                    </Styles>
                    <settings rootfolder="~\Imagenes Subidas" thumbnailfolder="~\Thumb\" />
                    <SettingsEditing AllowDelete="True" />
                    <SettingsToolbar ShowDownloadButton="True" />

<SettingsUpload useadvanceduploadmode="True">
<ValidationSettings MultiSelectionErrorText="Attention! 

The following {0} files are invalid because they exceed the allowed file size ({1}) or their extensions are not allowed. These files have been removed from selection, so they will not be uploaded. 

{2}"></ValidationSettings>
    <AdvancedModeSettings EnableMultiSelect="True" />
</SettingsUpload>
                    <Images SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                        <FolderContainerNodeLoadingPanel Url="~/App_Themes/PlasticBlue/Web/tvNodeLoading.gif">
                        </FolderContainerNodeLoadingPanel>
                        <LoadingPanel Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                        </LoadingPanel>
                    </Images>
                </dx:ASPxFileManager>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

